import request from '@/utils/httpRequest'

// 关键词获取
export function getKeyWord (data = {}) {
  return request({
    url: '/bihs/keyword/search',
    method: 'post',
    data
  })
}

// 关键词删除
export function deleteKeyWord (data = {}) {
  return request({
    url: '/bihs/keyword/delete',
    method: 'post',
    data
  })
}

// 添加关键词
export function addKeyWord (data = {}) {
  return request({
    url: '/bihs/keyword/add',
    method: 'post',
    data
  })
}

// 修改
export function updateKeyWord (data = {}) {
  return request({
    url: '/bihs/keyword/update',
    method: 'post',
    data
  })
}
